from picshell.engine.core.PicEngine import PicEngine
from picshell.engine.util.Format import Format
    
print "Start 16f877a_blink.hex "    

engine = PicEngine.newInstance("16f877a",".\\test_hex_files\\16f877a_blink.hex")
for inst in engine.instructionList[:engine.lastAddress+1]:
    Format.dumpInstruction(inst)
print "End"

print "Start 18f2550_blink.hex"    

engine = PicEngine.newInstance("18f2550",".\\test_hex_files\\18f2550_blink.hex")
for inst in engine.instructionList[:engine.lastAddress+1]:
    Format.dumpInstruction(inst)

print "End"